@import url(resetcode.css);
@charset "utf-8";

body {
	background-color: #E8E8E8;
	overflow-x:hidden; 
}
.wrapper {
	width: 100%;
}
.logo-search {
	width: 1000px;
	height: 80px;
	background: #E8E8E8;
	margin: 0 auto;
	border-bottom: none;
}
.logo {
	width: 300px;
	height:80px;
	float: left;
}
.search {
	width: 500px;
	float: right;
	margin-top: 20px;
}
.search .input {
	display: block;
	width: 292px;
	height: 26px;
	border: 2px solid red;
	border-right: none;
	float: left;
	padding-left: 6px;
	font-family: "微软雅黑",sans-serif;
	font-size: 16px;
}
.search .button {
	display: block;
	width: 98px;
	height: 32px;
	border: none;
	float: left;
	background-color: red;
	color: white;
	font-family: "微软雅黑",sans-serif;
	font-size: 14px;
}
.search .button:hover {
	opacity: 0.8;
	font-size: 18px;
}

.nav {
	width: 1000px;
	height: 40px;
	background-color: #E8E8E8;
	margin: 0 auto;
}
.nav ul li {
	display: block;
	float: left;
	width: 200px;
	color: red;
	text-align: center;
	line-height: 40px;
	font-family: "微软雅黑",sans-serif;
	font-size: 16px;
}
.nav ul li:hover, .nav ul li a:hover {
	color: white;
	background: red;
}
.body-hr {
	width: 100%;
	height:5px;
	margin-top: -4px;
	border-top:3px solid red;
}

/*  内容样式开始 */
.content {
	width: 1000px;
	height: 530px;
	margin: 30px auto;	
}
.content h3 {
	padding: 30px 0 0 85px;
	color: red;
	line-height: 30px;
}
.content .book-img {
	width: 400px;
	height: 400px;
	margin: 10px 20px 50px 80px;
	float: left;
}
.content .book-img img {
	display: block;
	width: 330px;
	height: 420px;
	margin: 0 auto;
}
.content .book-info {
	width: 400px;
	height: 400px;
	margin: 10px 80px 50px 20px;
	float: left;
}
.content .book-info .book-name, .author, .press-title, .press-date, .price {
	width: 300px;
	height: 50px;
	margin: 5px auto;
	padding: 0 50px;
	line-height: 50px;
	font-size: 14px;
}
.content .book-info .book-name-span {
	font-size: 24px;
	font-weight: bold;
}

.author-span, .press-title-span{
	font-size: 16px;
	color: red;
} 
.press-date-span {
	font-size: 14px;
}
.price-span {
	font-size: 20px;
	font-style: italic;
	color: red;
}
.content .book-info .buy {
	width: 400px;
	height: 120px;
}
.content .book-info .buy .num {
	width: 350px;
	height: 60px;
	padding-left: 50px;
}
.content .book-info .buy .button {
	width: 400px;
	height: 60px;
}
.content .book-info .buy .num .sub, .add {
	display: block;
	float: left;
	width: 30px;
	height: 30px;
	font-size: 24px;
	line-height: 30px;
	text-align: center;
	margin: 15px 0 0 4px;
	border: 1px solid #CCC;
	border-radius: 3px;
	background-color: inherit;
}
.content .book-info .buy .num .order-num {
	display: block;
	float: left;
	height: 25px;
	width: 27px;
	padding-left: 3px;
	margin: 15px 0 0 4px;
}
.content .book-info .buy .button .submit-buy {
	margin: 25px 0 0 40px;
	width: 150px;
	height: 40px;
	background: inherit;
	border: 1px solid red;
	border-radius: 5px;
	color: red;
	font-size: 16px;
	line-height: 40px;
	text-align: center;
}
.content .book-info .buy .button .submit-buy:hover {
	background: red;
	border:none;
	color: white;
}
.content .book-info .buy .button .submit-add {
	margin: 25px 0 0 30px;
	width: 150px;
	height: 40px;
	background: red;
	border: none;
	border-radius: 5px;
	color: white;
	font-size: 16px;
	line-height: 40px;
	text-align: center;
}
.content .book-info .buy .button .submit-add:hover {
	background: inherit;
	border: 1px solid red;
	color: red;
}

/* start footer */
.footer {
	width: 100%;
	height: 300px;
	background: #C9C9C9;
}
.footer-content {
	width: 1000px;
	height: 160px;
	margin: 0 auto;
}
.link, .about {
	width: 300px;
	height: 160px;
	padding-top: 30px;
	float: left;
}
.link ul li, .about ul li {
	height: 24px;
	margin-top: 5px;
}
.link ul li a, .about ul li a {
	font-size: 14px;
	color: #3F4040;
}
.link ul li a:hover, .about ul li a:hover {
	color: #F00;
}
.copy {
	width: 400px;
	height: 160px;
	padding-top: 30px;
	float: left;
}
.copy p {
	font-size: 14px;
	color: #3F4040;
	line-height: 1.9em;
	margin-top: 5px;
}
